package com.social.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.social.pojo.Complaint;
import com.social.pojo.Result;
import com.social.pojo.vto.ComplaintVTO;

import java.util.Date;


/**
 * @Author: XiaoXu
 * @Description:
 * @Date: Created in 13:22 2022/9/29
 * @Modified By:
 * @Version: 1.0
 */
public interface ComplaintService extends IService<Complaint> {

    Result insert(Complaint complaint);

    Result getComplaintById(Long id);

    Result updateComplaint(Complaint complaint);

    Result getComplainList(Integer size , Integer index);

    Result getComplaintByUserId();

    Result getComplaintByCondition(ComplaintVTO complaintVTO);

    Result dealComplaint(Long id);
}
